cmake_minimum_required(VERSION 3.10) 

# set the project name 
project(usinglib) 

# add include files search path
include_directories(inc)

# link the library
link_directories(lib)
link_libraries(func)

# add the executable 
add_executable(usinglib src/main.c) 
